import java.util.ArrayList;

import com.thoughtworks.xstream.annotations.XStreamAlias;


public class Movie {
	
	//TODO Build in support for IMDB. Pull in data from web using JSON or XML
	
	private String title;
	@XStreamAlias("filename")
	private String fileName; 
	private String director;
	@XStreamAlias("drivelocation")
	private String driveLocation;
	private String format;
	private int year;
	private double imdbRating;
	@XStreamAlias("watched")
	private boolean watched;
	ArrayList<String> cast = new ArrayList<String>();
	
	public Movie(String dl, String fn)
	{
/*		title = t;
		fileName = fn;
		director = d;*/
		driveLocation = dl;
		//format = f;
		fileName = fn;
		watched = false;
/*		cast = c;
		imdbRating = ir;
		year = y;*/
	}
	
/*	public String getTitle()
	{
		return title;
	}*/
	
	public String getFileName()
	{
		return fileName;
	}
	
/*	public String getDirector()
	{
		return director;
	}
	*/
	public String getDriveLocation()
	{
		return driveLocation;
	}
	public String getFormat()
	{
		return format;
	}

	public boolean isWatched() {
		return watched;
	}

	public void setWatched(boolean watched) {
		this.watched = watched;
	}
	
/*	public int getYear()
	{
		return year;
	}
	
	public double getImdbRating()
	{
		return imdbRating;
	}
	
	public ArrayList<String> getCast()
	{
		return cast;
	}*/
}
